<?php

use yii\db\Migration;

/**
 * Handles the creation of table `migration_package_transfer`.
 */
class m180222_074940_create_migration_package_transfer_table extends Migration
{
    /**
     * @inheritdoc
     */
    public function up()
    {
        $this->createTable('migration_package_transfer', [
            'id' => $this->primaryKey(),
            'original_transfer_id' => $this->bigInteger()->notNull(),
            'new_transfer_id' => $this->bigInteger()->notNull(),
        ]);
    }

    /**
     * @inheritdoc
     */
    public function down()
    {
        $this->dropTable('migration_package_transfer');
    }
}
